class Campeonato < ActiveRecord::Base
  belongs_to :liga
  has_many :jornadas

  def nombre_completo
    nombre + ' ' + temporada_id
  end
  #validates :name, :uniqueness => true,:presence => true
  # To change this template use File | Settings | File Templates.
end